﻿using System;
using System.Collections.Generic;
using System.Drawing.Imaging;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MCUPic.Core
{
    public interface IPicConverter
    {
        /// <summary>
        /// 图片实际的缩放大小
        /// </summary>
        Size Size { get; set; }

        /// <summary>
        /// 剪切区域：
        /// 矩形的起点：为图片剪切的位置
        /// 矩形的宽高：为用户填写的输出大小
        /// </summary>
        Rectangle CutRegion { get; set; }

        /// <summary>
        /// 输出的颜色格式
        /// </summary>
        PixelFormat PixelFormat { get; set; }
    }
}
